<?php

namespace App\Library\Requests\UserMessage;

use App\Library\Requests\Base\BaseDTORequest;

class UserMessageAddRequest extends BaseDTORequest
{
    public function rules(): array
    {
        return [
            'type' => 'required|integer|between:1,4',
            'receiveUserId' => 'required|integer|min:0',
            'content' => 'required|string|max:200',
        ];
    }
}
